package com.itbaizhan.openhis.doctor.feign;

import com.itbaizhan.openhis.pay.domian.TradeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("his-pay-service")
public interface PayFeignService {

    @PostMapping(value = "/aliPay/toPayAsPC")
    ResponseEntity<String> toPayAsPc(@Validated @RequestBody TradeVo trade);


}
